<template>
  <div style="width: 1200px;margin: 0 auto">
    <el-row :gutter="10">
      <el-col :span="4">
        <el-card style="height: 500px">
          <el-menu active-text-color="orange" router style="border: 0">
            <el-menu-item index="/personal/index">个人信息</el-menu-item>
            <el-menu-item index="/personal/management">稿件管理</el-menu-item>
          </el-menu>
        </el-card>
      </el-col>
      <el-col :span="20">
        <el-card style="height: 500px;overflow: scroll">
          <router-view/>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: "PersonalView",
  data() {
    return {
      user:localStorage.user?JSON.parse(localStorage.user):null
    }
  },
}
</script>

<style scoped>

</style>